<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../jquery-3.4.1.min.js"></script>
				<script type="text/javascript">
				$(function(){
		 $("body").css("height","10000px");
		 $("#menu").css({
			 "height":"200px",
			 "background-color":"red"
		 })
		 $("#nav").css({
			 "position":"sticky",
			 "height":"100px",
			 "background-color":"blue",
			 "top":"10px",
			
		 })
		
		 ;})
		 </script>
		 
	</head>
	<body>
		<div id="menu"></div>
		<div id="nav"></div>
	</body>
</html>
